package com.training.biryani;

public class Waiter {
	private KitchenFactory factory = null;
	private Kitchen nonVegKitchen = null;
	private Kitchen vegKitchen = null;
	public void takeOrder() throws InvalidTypeException
	{
		nonVegKitchen =factory.getKitchen(KitchenType.NonVeg);
		vegKitchen = factory.getKitchen(KitchenType.Veg);
		nonVegKitchen.orderBiryani(BiryaniType.Chicken);
	}

}
